package com.colorfruit.admin.pojo.constant;

public class CommonConstant {
    /**
     * 通用日期格式
     */
    public static final String DATE_FORMAT = "yyyy-MM-dd-HH";

    public static final String DATA_FORMAT_2 = "yyyy年MM月dd日HH时";

    /**
     * 微信登录
     */
    public final static String LOGIN_URL = "https://api.weixin.qq.com/sns/jscode2session";

    public final static String SECRET = "abf5b6fe6e636fde4ad0f6965dfad12a";

    public final static String GRANT_TYPE = "authorization_code";

    /**
     * 微信支付URL
     */
    public static final String WX_PRE_PAY_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    /**
     * 微信支付涉及常量
     */
    public static final String SUCCESS = "SUCCESS";
    public static final String DESCRIPTION = "十洲果子";
    public static final String RETURN_CODE = "return_code";
    public static final String RESULT_CODE = "result_code";
    public static final String RETURN_MSG = "return_msg";

    /**
     * 上架订单产品状态
     */
    public static final String ACTIVITY = "activity"; //活动产品

    public static final String ACTIVITY_NAME = "活动"; //活动产品


    public static final String NEW_ARRIVAL = "new_arrival"; //新品产品
    public static final String NEW_ARRIVAL_NAME = "新品"; //新品产品


    public static final String HOT_SALE = "hot_sale"; //热销
    public static final String HOT_SALE_NAME = "热销"; //热销


    public static final String NORMAL_PRODUCT = "normal_product"; //普通

    /**
     * 配置表配置
     */
    public static final String TRANSPORT_COST = "transport_cost";//运费transport_cost
    public static final String DISTRIBUTION_COST = "distribution_cost";//配送费
    public static final String HOT_SALE_NUM = "hot_sale_num"; //热销展示产品数
    public static final String REDIS_STATUS = "redis_status"; //热销展示产品数
    public static final String START_SHOP_TIME = "start_shop_time";//开始下单时间
    public static final String END_SHOP_TIME = "end_shop_time";//结束下单时间
    public static final String RESTART_GLOBAL_TIME = "restart_global_time";//重置全局时间

    /**
     * 地址配置
     */
    public static final int ADDRESS_LIMIT_NUM = 10; //地址限制数量





}
